//
//  QJMineTXJLCell.m
//  QuanJieShopProject
//
//  Created by apple on 2018/3/2.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "QJMineTXJLCell.h"
@implementation QJMineTXJLCell
- (void)cellUpdateWithModel:(MineTXJLModel *)model{
    if (model) {
        self.oneLabel.text = [NSString timeChange:model.addtime withFormatter:@"yyyy-MM-dd HH:mm:ss"];
        self.twoLabel.text = [NSString stringWithFormat:@"￥%@",model.money];
        NSString *statusStr = model.status;
        if ([statusStr isEqualToString:@"1"]) {
            self.threeLabel.text = @"已申请";
        }else if ([statusStr isEqualToString:@"2"]){
            self.threeLabel.text = @"已提现";
        }else if ([statusStr isEqualToString:@"3"]){
            self.threeLabel.text = @"已拒绝";
        }
    }
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
